//
//  TempViewController.swift
//  Sinaweibo
//
//  Created by 谌桃 on 15/12/3.
//  Copyright © 2015年 ryan.chen. All rights reserved.
//

import UIKit

class TempViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        view.backgroundColor = UIColor.randomColor()
    }
    
    @objc private func back() {
        navigationController?.popViewControllerAnimated(true)
    }
    
    override func touchesEnded(touches: Set<UITouch>, withEvent event: UIEvent?) {
        let temp = TempViewController()
        navigationController?.pushViewController(temp, animated: true)
    }
    


}
